<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <!-- 网站标题 -->
  <title>Bob</title>
  <!-- 网站icon -->
  <link rel="icon" href="_media/favicon.ico">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="description" content="Description">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <!-- Theme 主题设置 [vue.css] [buble.css] [dark.css] [pure.css] -->
  <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
  <!-- Plugin gitalk -->
  <!-- <link rel="stylesheet" href="//unpkg.com/gitalk/dist/gitalk.css"> -->
</head>
<body>
  <!-- loading显示的文字 -->
  <div id="app">Loading...</div>
  <script>
    window.$docsify = {
      // ************************* Configuration *************************
      // https://docsify.js.org/#/zh-cn/configuration
      // --> 首页 「README.md」
      homepage: 'https://cdn.jsdelivr.net/gh/ripperhe/Bob@master/README.md',
      // --> 封面 「_coverpage.md」
      coverpage: false,
      // --> 侧边栏 [_sidebar.md]
      loadSidebar:true,
      // 说实话，没搞懂
      maxLevel:4,
      // 设置侧边栏中，当前文章的最大目录层级；不设置，则不会显示当前文章目录
      subMaxLevel: 2,
      // --> 导航栏 [_navbar.md]
      loadNavbar: true,
      // 小屏设备下合并导航栏到侧边栏
      mergeNavbar: true,
      // --> 404页面 「_404.md」
      notFoundPage: true,

      // 网址logo
      // logo: '/_media/icon.svg',
      // 文档标题，显示在侧边栏顶部
      name: 'Bob',
      // 侧边栏点击链接
      // nameLink: {
      //   '/': '/',
      //   '/service/': '/service/',
      //   '/plugin/': '/plugin/',
      // },
      // 仓库地址（设置之后，会在页面右上角渲染一个 GitHub Corner 挂件）
      repo: 'ripperhe/Bob',
      // 页面切换之后，自动跳转到顶部
      auto2top: true,
      // 格式化
      formatUpdated: '{MM}/{DD} {HH}:{mm}',

      // ************************* Plugins *************************
      // https://docsify.js.org/#/zh-cn/plugins
      // 全文搜索 - Search
      search: {
        placeholder: '搜索',
        noData: '找不到结果',
      },

      // plugins: [
      //   // Edit On Github
      //   function (hook, vm) {
      //     hook.beforeEach(function (html) {
      //       var url = 'https://github.com/ripperhe/docsify-template/blob/master/' + vm.route.file
      //       var editHtml = '[:memo: Edit Document](' + url + ')\n\n'
      //       return editHtml
      //         + html
      //         + '\n\n----\n\n'
      //         // + '<a href="https://docsify.js.org" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">Powered by docsify</a>'
      //     })
      //   },
      // ]
    }
  </script>
  <script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
  <!-- ************************* Plugins ************************* -->
  <!-- Plugins：全文搜索 -->
  <script src="//unpkg.com/docsify/lib/plugins/search.js"></script>
  <!-- Plugins：图片缩放 - Zoom image -->
  <script src="//unpkg.com/docsify/lib/plugins/zoom-image.js"></script>
  <!-- 点击代码块右上角复制代码 -->
  <script src="//unpkg.com/docsify-copy-code"></script>
  <!-- Plugins：gitalk -->
  <!-- <script src="//unpkg.com/docsify/lib/plugins/gitalk.min.js"></script>
  <script src="//unpkg.com/gitalk/dist/gitalk.min.js"></script>
  <script>
      const gitalk = new Gitalk({
          clientID: '6dcf63ab4e93d33d33fa',
          clientSecret: 'aa430158c8d3fc3c2c15c94063854d6513bda0e6',
          repo: 'docsify-template',
          owner: 'ripperhe',
          admin: ['ripperhe'],
          // id: '{{ page.url | truncate: 50, '' }}',
          distractionFreeMode: false // Facebook-like distraction free mode
      })
      gitalk.render('gitalk-container')
  </script> -->
  <!-- Plugins：代码高亮 prism https://github.com/PrismJS/prism -->
  <script src="//unpkg.com/prismjs/components/prism-javascript.min.js"></script>
  <script src="//unpkg.com/prismjs/components/prism-json.min.js"></script>
  <script src="//unpkg.com/prismjs/components/prism-applescript.min.js"></script>
  <script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
</body>
</html>
